package com.krediti.session;

import java.util.ArrayList;
import java.util.List;

import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityHome;

import com.krediti.entity.KreditniZahtev;
import com.krediti.entity.Valuta;

@Name("valutaHome")
public class ValutaHome extends EntityHome<Valuta> {

	/**
	 * Generated serial version.
	 */
	private static final long serialVersionUID = 2703701160027402001L;

	public void setValutaId(Integer id) {
		setId(id);
	}

	public Integer getValutaId() {
		return (Integer) getId();
	}

	@Override
	protected Valuta createInstance() {
		Valuta valuta = new Valuta();
		return valuta;
	}

	public void wire() {
		getInstance();
	}

	public boolean isWired() {
		return true;
	}

	public Valuta getDefinedInstance() {
		return isIdDefined() ? getInstance() : null;
	}


}
